package com.gdwhomework.chapter07.homework004;

public class Waiter extends Person{
    public Waiter(String name, int age, char gender, double sal) {
        super(name, age, gender, sal);
    }

    @Override
    public void showAllYearSal() {
        System.out.print("服务生"+getName()+"的全年工资：");
        super.showAllYearSal();
    }
}
